<table summary='' cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
              <tr>
                 <td class="p_link" align="left"><a href="/index.php" class="a_top">home</a></td>
              </tr>
                          <tr>
                                <td height="15"></td>
                          </tr>
</table>
{if !empty($catalog) or empty($catalog)} 
            <table summary='' cellpadding="0" cellspacing="0" width="100%">
              <tr>
                <td align="center">
        <table summary='' cellpadding="0" cellspacing="0" width="670" border="0" align="center">
        <tr>
{foreach name="catalogs" from=$catalog item=item}
        {if 0 == (($smarty.foreach.catalogs.iteration-1) % 3)}
        <td style='display:none;'></td></tr><tr>
        {/if}
<td valign="top" align="center" class="td_p">
        <table summary='' cellpadding="0" cellspacing="0" align="center" border="0" width="202">
        <tr>
        <td width="202" height="97"><a href="{getsurl id=$item.catalog_id plugin='catalogpage' method='null' params='page=list_catalog&cid='}" title="{$item.title}"><img src={if $item.img_small neq ''}"/inventory/{$item.img_small}"{else}"/img/no_image.gif"{/if} width="202" height="97" alt="{$item.title}" border="0"/></a></td></tr>
        <tr><td class="td_04" align="center" ><a href="/index.php?path=catalogpage&cid={$item.catalog_id}" title="{$item.title}">{$item.title}</a></td></tr>
        </table>
</td>
<!-- BLOCK END -->
{/foreach}

</tr>
</table></td>
</table>
{/if}


{*
<table summary='' cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
              <tr>
                 <td class="p_link" align="left"><a href="#.html" class="a_top">Home Page</a></td>
              </tr>
                          <tr>
                                <td height="15"></td>
                          </tr>
            </table>
            <table summary='' cellpadding="0" cellspacing="0" width="100%">
              <tr>
                <td align="center"><table summary='' cellpadding="0" cellspacing="0" width="670" border="0" align="center">
                    <tr>



                      <td valign="top" class="td_p" align="center"><table summary='' cellpadding="0" cellspacing="0" align="center" border="0" width="202">
                          <tr>
                            <td><img src="/img/jewelry/001.jpg" width="202" height="97" alt=""/></td>
                          </tr>
                          <tr>
                            <td class="td_04" align="center"><a href="#.html">Home Page</a></td>
                          </tr>
                          <tr>
                            <td height="7"></td>
                          </tr>
                          <tr>
                            <td><img src="/img/jewelry/002.jpg" width="202" height="97" alt=""/></td>
                          </tr>
                          <tr>
                            <td class="td_04" align="center"><a href="#.html">Home Page</a></td>
                          </tr>
                          <tr>
                            <td height="7"></td>
                          </tr>
                          <tr>
                            <td><img src="/img/jewelry/004.jpg" width="202" height="97" alt=""/></td>
                          </tr>
                          <tr>
                            <td class="td_04" align="center"><a href="#.html">Home Page</a></td>
                          </tr>
                          <tr>
                            <td height="7"></td>
                          </tr>
                          <tr>
                            <td><img src="/img/jewelry/005.jpg" width="202" height="97" alt=""/></td>
                          </tr>
                          <tr>
                           <td class="td_04" align="center"><a href="#.html">Home Page</a></td>
                          </tr>
                        </table></td>
                      <td valign="top" align="center" class="td_p"><table summary='' cellpadding="0" cellspacing="0" align="center" border="0" width="202">
                          <tr>
                            <td><img src="/img/jewelry/004.jpg" width="202" height="97" alt=""/></td>
                          </tr>
                          <tr>
                            <td class="td_04" align="center"><a href="#.html">Home Page</a></td>
                          </tr>
                          <tr>
                            <td height="7"></td>
                          </tr>
                          <tr>
                            <td><img src="/img/jewelry/005.jpg" width="202" height="97" alt=""/></td>
                          </tr>
                          <tr>
                            <td class="td_04" align="center"><a href="#.html">Home Page</a></td>
                          </tr>
                          <tr>
                            <td height="7"></td>
                          </tr>
                          <tr>
                            <td><img src="/img/jewelry/004.jpg" width="202" height="97" alt=""/></td>
                          </tr>
                          <tr>
                            <td class="td_04" align="center"><a href="#.html">Home Page</a></td>
                          </tr>
                          <tr>
                            <td height="7"></td>
                          </tr>
                          <tr>
                            <td><img src="/img/jewelry/005.jpg" width="202" height="97" alt=""/></td>
                          </tr>
                          <tr>
                            <td class="td_04" align="center"><a href="#.html">Home Page</a></td>
                          </tr>
                        </table></td>
                      <td valign="top" align="center" class="td_p">
                                          <table summary='' cellpadding="0" cellspacing="0" align="center" border="0" width="202">
                          <tr>
                            <td><img src="/img/jewelry/002.jpg" width="202" height="97" alt=""/></td>
                          </tr>
                          <tr>
                            <td class="td_04" align="center"><a href="#.html">Home Page</a></td>
                          </tr>
                          <tr>
                            <td height="7"></td>
                          </tr>
                          <tr>
                            <td><img src="/img/jewelry/001.jpg" width="202" height="97" alt=""/></td>
                          </tr>
                          <tr>
                            <td class="td_04" align="center"><a href="#.html">Home Page</a></td>
                          </tr>
                          <tr>
                            <td height="7"></td>
                          </tr>
                          <tr>
                            <td><img src="/img/jewelry/005.jpg" width="202" height="97" alt=""/></td>
                          </tr>
                          <tr>
                           <td class="td_04" align="center"><a href="#.html">Home Page</a></td>
                          </tr>
                          <tr>
                            <td height="7"></td>
                          </tr>
                          <tr>
                            <td><img src="/img/jewelry/001.jpg" width="202" height="97" alt=""/></td>
                          </tr>
                          <tr>
                            <td class="td_04" align="center"><a href="#.html">Home Page</a></td>
                          </tr>
                        </table></td>
                    </tr>
                  </table></td>
              </tr>
</table>
*}